package edu.ccut.saturn.component.impl;

import edu.ccut.saturn.component.IDebugLogMessage;

public class SaturnDebugLogMessage implements IDebugLogMessage {

	private String key;

	private String level;

	private String message;

	private String exception;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public boolean hasException() {
		return this.exception != null ? true : false;
	}
}
